.tweets {

}

.tweet {
  margin-bottom: 8px;
  background: #fff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);

  border-radius: 0.2rem;

  .pin-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 2rem 0 20px;

    .account-group {
      align-items: center;
      display: flex;

      .pin-header-content {
        margin-left: 10px;

        .nickname {
          font-size: 16px;
          font-weight: 500;
          color: #2e3135;
        }

        .meta-box {
          display: flex;
          align-items: center;
          margin: 0.3rem 0 0;
          font-size: 13px;
          color: #8a9aa9;
          cursor: default;

          .position {
            max-width: 24rem;
          }
          .dot {
            margin: 0 0.5em;
          }
          .time {
            color: #8a9aa9;
          }
        }
      }
    }
  }

  .pin-content-row {
    position: relative;
    margin: 5px 4rem 5px 75px;

    .content-box {
      font-size: 15px;
      line-height: 1.6;
      white-space: pre-wrap;
      color: #17181a;
    }
  }

  .pin-image-row {
    margin: 5px 4rem 5px 75px;

    li {
      cursor: pointer;
      border: 1px dashed #ddd;
      text-align: center;

      // 图片尺寸
      $image-size: 120px;

      display: inline-block;
      vertical-align: middle;
      width: $image-size;
      height: $image-size;
      line-height: $image-size;
      margin: 0 8px 8px 0;
      background-color: #e8e8e8;
      background-size: 32px 32px;
      background-position: 50%;
      background-repeat: no-repeat;
      overflow: hidden;
      position: relative;

      .image-item {
        display: block;
        width: $image-size;
        height: $image-size;
        overflow: hidden;
        transform-style: preserve-3d;

        & > img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          transition: all 0.5s ease-out 0.1s;

          &:hover {
            transform: matrix(1.04, 0, 0, 1.04, 0, 0);
            backface-visibility: hidden;
          }
        }
      }
    }
  }

  .pin-action-row {
    .action-box {
      display: flex;
      position: relative;
      margin-top: 1.333rem;
      height: 34px;
      border-top: 1px solid #ebebeb;

      .action {
        flex: 1 1 33.333%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        height: 100%;
        cursor: pointer;
        user-select: none;

        &:not(:last-child):after {
          content: '';
          position: absolute;
          top: 50%;
          right: 0;
          margin-top: -1rem;
          width: 1px;
          height: 2rem;
          background-color: #ebebeb;
        }

        .action-title-box {
          display: flex;
          align-items: center;
          justify-content: center;
          color: #8a93a0;

          .iconfont {
            color: #000;
          }

          .action-title {
            margin-left: 0.3em;
            font-size: 13px;
            font-weight: 500;
            color: #8a93a0;
          }
        }
      }
    }
  }
}
